set -e

# Cargo.
cargo fmt -- --check
cargo test
cargo build

# Flutter.
flutter pub get
dart analyze
